import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'

import Antd from 'ant-design-vue'

import 'ant-design-vue/dist/reset.css'

const app = createApp(App)

app.use(Antd)

if (import.meta.env.MODE === 'production') {
  app.config.compilerOptions.isCustomElement = (tag) => {
    const elList = ['webview']
    return elList.includes(tag)
  }
}

app.mount('#app')
